package com.csdn.reposity;

import com.csdn.config.BaseConfig;
import com.csdn.listener.FileMonitor;

import java.util.List;
import java.util.Set;

public class FileConfigReposity implements ConfigReposity{
    @Override
    public String mode() {
        return "FILE";
    }
    @Override
    public void initial(Set<Class<? extends BaseConfig>> collects) throws Exception {
        new FileMonitor().listen(collects);
    }

    @Override
    public List<? extends BaseConfig> load(Class<? extends BaseConfig> clazz) {
        return null;
    }
}
